namespace IQIGame.Onigao.GamePlay
{
    public class UIN_OneItemGet : UIN_OneItem
    {
        public bool Show(ItemShowData itemData)
        {
            if (itemData == null)
                return false;

            bool isOkey = base.Show(itemData.cfgData);
            if (!isOkey)
                return false;
            this.OnShow4Item(itemData);
            return true;
        }

        private void OnShow4Item(ItemShowData itemData)
        {
            this.SetCount(itemData.num, true);
        }
    }
}
